package com.yingsheng.bi.hks.mapping;

import com.yingsheng.bi.hks.bo.StoresDetailBo;
import com.yingsheng.bi.hks.dto.storedetail.StoresDetailAddReq;
import com.yingsheng.bi.hks.dto.storedetail.StoresDetailModReq;
import com.yingsheng.bi.hks.repository.dao.po.StoreDetail;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface StoresDetailMgmtMappings {


    StoresDetailMgmtMappings INSTANCE = Mappers.getMapper(StoresDetailMgmtMappings.class);

    StoreDetail addReq2po(StoresDetailAddReq req);

    StoreDetail addReq2po(StoresDetailModReq req);

    List<StoresDetailBo> storesDetailList2boList(List<StoreDetail> storeDetailList);
}
